package com.gztms;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@MapperScan({
        "com.gztms.usermgnt.mapper",
        "com.gztms.travelmgnt.mapper",
        "com.gztms.ordermgnt.mapper",
        "com.gztms.blogmgnt.mapper"
})
@EnableScheduling  // 启动定时任务
@EnableCaching     //  启动缓存
public class GZTourMgmtSysApplication {
    public static void main(String[] args) {
        SpringApplication.run(GZTourMgmtSysApplication.class, args);
    }
}
